﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccessLayer;
using System.Data;
using System.Data.OleDb;
using InfoLayer;

namespace ControlLayer
{
    public class ThamSoControl
    {
        private ThamSoDataAccess ThamSoDA = new ThamSoDataAccess();

        public DataTable LayBangThamSo()
        {
            return ThamSoDA.LayBangThamSo();
        }

        public void Insert(ref ThamSoInfo thamSoInfo)
        {
            ThamSoDA.Insert(ref thamSoInfo);
        }

        public void Update(ThamSoInfo thamSoInfo)
        {
            ThamSoDA.Update(thamSoInfo);
        }

        public void Update_SoKhachToiDa(ThamSoInfo thamSoInfo)
        {
            ThamSoDA.Update_SoKhachToiDa(thamSoInfo);
        }

        public void Update_SoKhachTheoDonGia(ThamSoInfo thamSoInfo)
        {
            ThamSoDA.Update_SoKhachTheoDonGia(thamSoInfo);
        }
    }
}
